Skip to content

Fix object key validation #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 13, 2016

Conversation

pmmaga
Copy link
Contributor

@pmmaga pmmaga commented Jun 10, 2016

The current validation for the object keys is not complying with the protocol specification from memcached.

This PR aims at fixing this.

@kaplanlior
Copy link

Can the key length be a variable (so it would be defined in one place, instead of 4) ?

@pmmaga
Copy link
Contributor Author

pmmaga commented Jun 10, 2016

Yes. Thanks for the suggestion

@andreiz
Copy link
Member

andreiz commented Jun 12, 2016

Any idea why the tests fails with libmemcached version < 1.0.16?

@pmmaga
Copy link
Contributor Author

pmmaga commented Jun 13, 2016

It's caused by the same test that was already failing on master when I forked: https://travis-ci.org/php-memcached-dev/php-memcached/builds/120328491

@andreiz andreiz merged commit de6b9b5 into php-memcached-dev:master Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants